package com.sinotopia.dao.mapper;

import com.sinotopia.domain.Category;

/**
 * mybatis 会把同目录同名称的类和xml文件自动绑定,即接口中方法对应xml中配置sql的Id名
 * CategoryMapper.java接口中方法对应CategoryMapper.xml中配置sql的Id名
 * Created by sinotopia on 2017/05/12.
 */
public interface CategoryMapper {

    void insertCategory(Category category);

    void updateCategory(Category category);
    
    void getCategoryById(int id);
}